//
//  YGRefreshModel.h
//  luGongPro
//
//  Created by 王庆学 on 2017/8/24.
//  Copyright © 2017年 王庆学. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YGContainerProtocol.h"

typedef NS_ENUM(NSUInteger,YGRefreshStatusType){
    YGRefreshStatusTypeEmpty,
    YGRefreshStatusTypeFirstError,
    YGRefreshStatusTypeError,
    YGRefreshStatusTypeNoData
};

@interface YGRefreshModel : NSObject<YGRenderProtocol>

- (instancetype)initWithRefreshStatus:(YGRefreshStatusType)refreshStatus;

@property (nonatomic, assign) YGRefreshStatusType refreshStatus;

- (void)configRefreshStatus:(YGRefreshStatusType)refreshStatus;

@end
